#!/bin/bash

# 执行详细登录信息查询
echo "=== iSCSI Session Detailed Information ==="
iscsiadm -m session -P 3

# 执行块设备列表查询
echo -e "\n=== Block Devices (lsblk) ==="
lsblk
